package com.online.demo3.fallback;

import com.online.demo3.service.FindAgentService;
import org.springframework.stereotype.Component;

import static java.lang.System.out;

/**
 * @author hsc
 * @create 2018-04-28 9:23
 */
@Component
public class FindAgentFallBack implements FindAgentService {

    @Override
    public String hello() {
        out.println("sorry,3");
        return null;
    }
}
